package com.store.bookstore_backend.service;

import com.store.bookstore_backend.domain.Book;

import java.util.List;

public interface BookService {
    //获取全部书籍信息
    public List<Book> getAllBooks();

    //显示书籍详细信息
    public Book showBook(int id);

    //根据分类Id检索书籍
    public List<Book> findByCategory(int id);

    //搜索书籍
    public List<Book> findByQuery(String query);
}
